/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package vita.vitasolution.service.dto;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;
import javax.xml.bind.annotation.XmlRootElement;

/**
 *
 * @author harker777
 */
@XmlRootElement
public class DetailedCase {

	private Integer id;
	private String title;
	private Double fund;
	private Integer copiesNumber;
	private Set<ShortCriterion> criteria;
	private Integer userId;
	private Date postDate;

	public DetailedCase() {
		criteria = new HashSet<ShortCriterion>();
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public Double getFund() {
		return fund;
	}

	public void setFund(Double fund) {
		this.fund = fund;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public Integer getCopiesNumber() {
		return copiesNumber;
	}

	public void setCopiesNumber(Integer copiesNumber) {
		this.copiesNumber = copiesNumber;
	}

	public Set<ShortCriterion> getCriteria() {
		return criteria;
	}

	public void setCriteria(
			Set<ShortCriterion> criteria) {
		this.criteria = criteria;
	}

	public Date getPostDate() {
		return postDate;
	}

	public void setPostDate(Date postDate) {
		this.postDate = postDate;
	}
}
